// 数组的解构赋值
let a = null;


[a] = [1];

console.log(a);

const deviceInfo = {
  osType: 0
};

[ , , deviceInfo.a] = [1, 2, 4, 5];
console.log(deviceInfo.a);